<?php

namespace Model\QuestionBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * QuestionStatic
 *
 * @ORM\Table(name="questionStatic")
 * @ORM\Entity(repositoryClass="Model\QuestionBundle\Repository\QuestionStaticRepository")
 */
class QuestionStatic
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="QuestionId", type="integer")
     */
    private $questionId;

    /**
     * @var int
     *
     * @ORM\Column(name="BeUsed", type="integer")
     */
    private $beUsed = 0;

    /**
     * @var int
     *
     * @ORM\Column(name="NumTotal", type="integer")
     */
    private $numTotal = 0;

    /**
     * @var int
     *
     * @ORM\Column(name="NumRight", type="integer")
     */
    private $numRight = 0;

    /**
     * @var int
     *
     * @ORM\Column(name="TimeTotal", type="integer")
     */
    private $timeTotal = 0;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set beUsed
     *
     * @param integer $beUsed
     *
     * @return QuestionStatic
     */
    public function setBeUsed($beUsed)
    {
        $this->beUsed = $beUsed;

        return $this;
    }

    /**
     * Get beUsed
     *
     * @return int
     */
    public function getBeUsed()
    {
        return $this->beUsed;
    }

    /**
     * Set numTotal
     *
     * @param integer $numTotal
     *
     * @return QuestionStatic
     */
    public function setNumTotal($numTotal)
    {
        $this->numTotal = $numTotal;

        return $this;
    }

    /**
     * Get numTotal
     *
     * @return int
     */
    public function getNumTotal()
    {
        return $this->numTotal;
    }

    /**
     * Set numRight
     *
     * @param integer $numRight
     *
     * @return QuestionStatic
     */
    public function setNumRight($numRight)
    {
        $this->numRight = $numRight;

        return $this;
    }

    /**
     * Get numRight
     *
     * @return int
     */
    public function getNumRight()
    {
        return $this->numRight;
    }

    /**
     * Set timeTotal
     *
     * @param integer $timeTotal
     *
     * @return QuestionStatic
     */
    public function setTimeTotal($timeTotal)
    {
        $this->timeTotal = $timeTotal;

        return $this;
    }

    /**
     * Get timeTotal
     *
     * @return int
     */
    public function getTimeTotal()
    {
        return $this->timeTotal;
    }

    /**
     * Set questionId
     *
     * @param integer $questionId
     *
     * @return QuestionStatic
     */
    public function setQuestionId($questionId)
    {
        $this->questionId = $questionId;

        return $this;
    }

    /**
     * Get questionId
     *
     * @return integer
     */
    public function getQuestionId()
    {
        return $this->questionId;
    }
}
